<!doctype html>
<html>
<head>
<title>无标题文档</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />  
<link rel="stylesheet" type="text/css" href="css/libs/CSSRESET.css">
<link rel="stylesheet" type="text/css" href="css/libs/swiper.min.css">
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/course_content.css">
<script src="js/libs/jquery-2.1.3.min.js"></script>
<script src="js/libs/swiper.jquery.min.js"></script>
<script>
    $(function(){
        
        var _top=$("#blur_2").data("top");
        $("#blur_2").css("top",_top);
        
        //音频播放暂停效果
        $(".play i").on("click",function(){
            var $play=$(this).parent(".play");
            var audio=$play.find("audio")[0]
            if($play.hasClass("active")){   //暂停
                $play.removeClass("active");
                audio.pause();
            }else{                          //播放
                $(".play").find("audio").each(function(){
                    $(this)[0].pause();
                    $(this).parents(".play").removeClass("active");
                });
                $play.find("span").remove();
                $play.addClass("active");
                audio.currentTime = 0;
                audio.play();
            }
        });
        
        //初始化轮播插件
        var mySwiper = new Swiper('.pbanner',{
            autoplay:5000,
            visibilityFullFit : true,
            loop:true,
            pagination : '.pagination',
        });
        
    });
</script>
</head>
<body>
    <article class="wrapper">
        <div class="main">            
            <div class="pbanner">
                <div class="swiper-wrapper">
                    <div class="swiper-slide"><img src="img/pbanner_bg.jpg" alt="" /></div>
                    <div class="swiper-slide"><img src="img/pbanner_bg.jpg" alt="" /></div>
                    <div class="swiper-slide"><img src="img/pbanner_bg.jpg" alt="" /></div>
                </div>
                <p>115/128</p>
                
                <div class="blur"></div>
            </div>
            <!-- pbanner -->
            
            <div class="part">
                <h3><p>Part1-从零开始学，上学的好处是什么</p></h3>
                <ul class="ul_part">
                    <li>
                        <div><img src="img/icon_live_teacher.png" alt="" /></div>
                        <div class="play">
                            <i class="voice">34″<span class="point"></span></i>
                            <audio src="audio/1.mp3"></audio>
                        </div>
                    </li>
                    
                    <li>
                        <div><img src="img/icon_live_teacher.png" alt="" /></div>
                        <div class="play">
                            <i class="voice">34″<span class="point"></span></i>
                            <audio src="audio/1.mp3"></audio>
                        </div>
                    </li>
                    
                    <li>
                        <div><img src="img/icon_live_teacher.png" alt="" /></div>
                        <div class="play">
                            <i class="voice">34″<span class="point"></span></i>
                            <audio src="audio/1.mp3"></audio>
                        </div>
                    </li>
                    
                    <li>
                        <div><img src="img/icon_live_teacher.png" alt="" /></div>
                        <div class="play">
                            <i class="voice">34″<span class="point"></span></i>
                            <audio src="audio/1.mp3"></audio>
                        </div>
                    </li>
                </ul>
            </div>
            <!-- part -->
            
            <div class="part">
                <h3><p>Part2-从零开始学，上学的好处是什么</p></h3>
                <ul class="ul_part">
                    <li>
                        <div><img src="img/icon_live_teacher.png" alt="" /></div>
                        <div class="play">
                            <i class="voice">34″</i>
                        </div>
                    </li>
                    
                    <li>
                        <div><img src="img/icon_live_teacher.png" alt="" /></div>
                        <div class="play">
                            <i class="voice">34″</i>
                        </div>
                    </li>
                    
                    <li>
                        <div><img src="img/icon_live_teacher.png" alt="" /></div>
                        <div>
                            <div class="cnt_wrapper">
                                <div class="em">
                                    I sdd  d wsd fwe dwe fdw fw dcs ssssss 
                                    sdasdadwdwefdwefwefwefwef.
                                    dfwefwefwefwefwef ergergerergesser
                                    fgergergergergergergergergergersdr
                                    ergergergerererrerrererererer.
                                </div>
                                
                                <p class="p_line"><span>有道翻译</span></p>
                                
                                <div class="cn">
                                    我看见还得等二等奖为客户问问谁说
                                    宽宏大量文化的请大家回来看见多少
                                    客户圣诞节诶会尽快，请叫我和我单
                                    数据库的环节考核等级为秦皇。
                                </div>
                            </div>
                        </div>
                    </li>
                    
                    <li>
                        <div><img src="img/icon_live_teacher.png" alt="" /></div>
                        <div>
                            <i class="voice">34″</i>
                        </div>
                    </li>
                </ul>
                
                <!-- data-top:为遮罩层距离顶部的值 -->
                <div id="blur_2" data-top="100px"></div>
                
                <!-- 说明 blur 为下面代码  模糊消失
                    <div id="blur_2" style="display:none"></div>
                -->
                
            </div>
            <!-- part -->
            
        </div>
    </article>
    
    <footer class="footer">
        <a href="javascript:;">现在买<span>￥298</span></a>
    </footer>
</body>
</html>
